﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace modifyTkInfos
{
    public class TkInfo
    {
        private string tkName;

        private string tkNo;

        private int pageNo;

        private int pageTotal;

        private bool hasInfo;

        public string TkName { get => tkName; set => tkName = value; }
        public string TkNo { get => tkNo; set => tkNo = value; }
        public int PageNo { get => pageNo; set => pageNo = value; }
        public int PageTotal { get => pageTotal; set => pageTotal = value; }
        public bool HasInfo { get => hasInfo; set => hasInfo = value; }

        public override string ToString()
        {
            return "第 " + PageNo + " 页" + " 共 " + PageTotal + " 页 " + " 图纸编号: " + TkNo + " 图纸名称: " + TkName; 
        }
    }
}
